import request from '@/utils/request'

export function userList(params) {
  return request({
    url: '/api/halo-dashboard/v1/user',
    params
  })
}

export function collectList(params) {
  return request({
    url: `/api/halo-dashboard/v1/user/${params.id}/collection`,
    params
  })
}
export function orderList(params) {
  return request({
    url: `/api/halo-dashboard/v1/user/${params.id}/reserve`,
    params
  })
}
export function historyList(params) {
  return request({
    url: `/api/halo-dashboard/v1/user/${params.id}/view`,
    params
  })
}
